package com.example.mq.constant;

/**
 * mqtt的三种消息封装级别
 */
public enum QosEnum {
    QOS0(0),
    QOS1(1),
    QOS2(2);
    private Integer level;
    QosEnum(Integer level){
        this.level = level;
    }
    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
}
